package org.ht.demo.openapi.bean;

import lombok.Data;

/**
 * 用电数据
 */
@Data
public class IotHaishuiele {
    /**
     *
     */
    private String mac;

    /**
     * (A相电压)状态   0正常；1过压；2欠压
     */
    private Integer uas;

    /**
     * A相电压值
     */
    private String ua;

    /**
     * (B相电压)状态   00正常；1过压；2欠压
     */
    private Integer ubs;

    /**
     * B相电压值
     */
    private String ub;

    /**
     * (C相电压)状态  0正常；1过压；2欠压
     */
    private Integer ucs;

    /**
     * C相电压值
     */
    private String uc;

    /**
     * A相电流状态   0正常；1过流
     */
    private Integer cas;

    /**
     * A相电流值
     */
    private String ca;

    /**
     * B相电流状态  0正常；1过流
     */
    private Integer cbs;

    /**
     * B相电流值
     */
    private String cb;

    /**
     * C相电流状态  0正常；1过流
     */
    private Integer ccs;

    /**
     * C相电流值
     */
    private String cc;

    /**
     * 漏电流状态  0正常；1过流
     */
    private Integer leakvs;

    /**
     * 漏电流值
     */
    private String leakv;

    /**
     * A相温度状态  0正常；1超温；2其他
     */
    private Integer tas;

    /**
     * A相温度值
     */
    private String ta;

    /**
     * B相温度状态  0正常；1超温；2其他
     */
    private Integer tbs;

    /**
     * B相温度值
     */
    private String tb;

    /**
     * C相温度状态  0正常；1超温；2其他
     */
    private Integer tcs;

    /**
     * B相温度值
     */
    private String tc;

    /**
     * 环境相温度状态  0正常；1超温；2其他
     */
    private Integer tds;

    /**
     * 环境相温度值
     */
    private String td;

    /**
     * A相有功功率  单位KW
     */
    private String pa;

    /**
     * B相有功功率  单位KW
     */
    private String pb;

    /**
     * C相有功功率  单位KW
     */
    private String pc;

    /**
     * 总有功功率  单位KW
     */
    private String p;

    /**
     *  A相无功功率   单位Kvar
     */
    private String qa;

    /**
     * B相无功功率   单位Kvar
     */
    private String qb;

    /**
     * c相无功功率    单位Kvar
     */
    private String qc;

    /**
     * 总无功功率  单位Kvar
     */
    private String q;

    /**
     * 功率因数
     */
    private String pf;

    /**
     * 频率  单位Hz
     */
    private String f;

    /**
     * 有功电能   单位kwh
     */
    private String ept;

    /**
     * 无功电能  单位kvarh
     */
    private String eqt;


    @Override
    public String toString() {
        return "IotHaishuiele{" +
                "mac='" + mac + '\'' +
                ", uas=" + uas +
                ", ua='" + ua + '\'' +
                ", ubs=" + ubs +
                ", ub='" + ub + '\'' +
                ", ucs=" + ucs +
                ", uc='" + uc + '\'' +
                ", cas=" + cas +
                ", ca='" + ca + '\'' +
                ", cbs=" + cbs +
                ", cb='" + cb + '\'' +
                ", ccs=" + ccs +
                ", cc='" + cc + '\'' +
                ", leakvs=" + leakvs +
                ", leakv='" + leakv + '\'' +
                ", tas=" + tas +
                ", ta='" + ta + '\'' +
                ", tbs=" + tbs +
                ", tb='" + tb + '\'' +
                ", tcs=" + tcs +
                ", tc='" + tc + '\'' +
                ", tds=" + tds +
                ", td='" + td + '\'' +
                ", pa='" + pa + '\'' +
                ", pb='" + pb + '\'' +
                ", pc='" + pc + '\'' +
                ", p='" + p + '\'' +
                ", qa='" + qa + '\'' +
                ", qb='" + qb + '\'' +
                ", qc='" + qc + '\'' +
                ", q='" + q + '\'' +
                ", pf='" + pf + '\'' +
                ", f='" + f + '\'' +
                ", ept='" + ept + '\'' +
                ", eqt='" + eqt + '\'' +
                '}';
    }
}
